package com.imagine.mapper;

import com.imagine.entity.AccountStock;
import com.imagine.entity.Delegation;

import java.util.ArrayList;

/**
 * Created by liangyue on 2017/10/2.
 */
public interface AccountStockMapper {
    void insertAccountStock(AccountStock accountStock);
    void deleteAccountStock(String stockCode);
    void subAccountStock(AccountStock accountStock);
    Object getAccountStockNumById(AccountStock accountStock);

    void subAccountStockUsable(AccountStock accountStock);
    void addAccountStockUsable(AccountStock accountStock);

    AccountStock getAccountStockById(AccountStock accountStock);
    ArrayList<AccountStock> getAllStockByCId(String cId);



}
